﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductMonitor.Model
{
  public  class WorkShopModel
    {
        public string? WorkShopName { get; set; }
        public int WorkingCount { get; set; }
        public int WaitCount { get; set; }
        public int FaultCount { get; set; }
        /// <summary>
        /// 停机数量
        /// </summary>
        public int StopCount { get; set; }

        /// <summary>
        /// 总数量
        /// </summary>
        public int TotalCount { 
            get {

                return WorkingCount + WaitCount + FaultCount + StopCount;
        } 
        }
     
    }
}
